package com.lc.pda.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 出库单子表
 * </p>
 *
 * @author zww
 * @since 2023-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wms_shipment_detail")
@ApiModel(value="WmsShipmentDetail对象", description="出库单子表")
public class WmsShipmentDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "shipmentdetailId", type = IdType.AUTO)
    private String shipmentdetailId;

    @ApiModelProperty(value = "外键")
    @TableField("shipmentId")
    private String shipmentId;

    @ApiModelProperty(value = "出库类型")
    @TableField("shipmentType")
    private String shipmentType;

    @ApiModelProperty(value = "出库单号")
    @TableField("shipmentCode")
    private String shipmentCode;

    @ApiModelProperty(value = "采购订单号")
    @TableField("purchasingCode")
    private String purchasingCode;

    @ApiModelProperty(value = "仓库编码")
    @TableField("warehouseCode")
    private String warehouseCode;

    @ApiModelProperty(value = "批号")
    @TableField("lotCo")
    private String lotCo;

    @ApiModelProperty(value = "物料编码")
    @TableField("materialCode")
    private String materialCode;

    @ApiModelProperty(value = "物料名称")
    @TableField("materialName")
    private String materialName;

    @ApiModelProperty(value = "计量单位")
    @TableField("materialUnit")
    private String materialUnit;

    @ApiModelProperty(value = "物料规格")
    @TableField("materialSpec")
    private String materialSpec;

    @ApiModelProperty(value = "计划数量")
    @TableField("planQty")
    private BigDecimal planQty;

    @ApiModelProperty(value = "实际数量")
    @TableField("realQty")
    private BigDecimal realQty;

    @ApiModelProperty(value = "任务优先级")
    private String priority;

    @ApiModelProperty(value = "出库口")
    @TableField("taskExit")
    private String taskExit;

    @ApiModelProperty(value = "状态字典")
    @TableField("shipmentStatus")
    private String shipmentStatus;

    @ApiModelProperty(value = "审核人")
    private String reviewer;

    @ApiModelProperty(value = "操作者")
    private String operator;

    @ApiModelProperty(value = "出库需求号")
    @TableField("requirementNo")
    private String requirementNo;

    @ApiModelProperty(value = "出库需求行号")
    @TableField("requirementitemNo")
    private String requirementitemNo;

    @ApiModelProperty(value = "叫料需求号")
    @TableField("dispatchingNo")
    private String dispatchingNo;

    @ApiModelProperty(value = "叫料需求行号")
    private String dispatchingItemNo;

    @ApiModelProperty(value = "业务类型代码")
    private String businessCode;

    @ApiModelProperty(value = "业务类型名称")
    private String businessName;

    @ApiModelProperty(value = "工厂代码")
    private String werks;

    @ApiModelProperty(value = "叫料系统编号")
    private String sysnod;

    @ApiModelProperty(value = "供应商代码")
    private String lifnr;

    @ApiModelProperty(value = "是否拆分")
    private String split;

    @ApiModelProperty(value = "库存地点")
    private String lgort;

    @ApiModelProperty(value = "条码")
    @TableField("labelNo")
    private String labelNo;

    @ApiModelProperty(value = "托盘条码")
    private String packlabelno;

    @ApiModelProperty(value = "栈板条码Id")
    @TableField("palletlabelNo")
    private String palletlabelNo;

    @ApiModelProperty(value = "是否启用")
    @TableField("enabelMark")
    private Integer enabelMark;

    @ApiModelProperty(value = "是否删除")
    @TableField("deleteMark")
    private Integer deleteMark;

    @ApiModelProperty(value = "创建者")
    @TableField("createBy")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("updateBy")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("updateTime")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;


}
